package main

import (
	"demo/model"
	"github.com/leaanthony/mewn"
	"github.com/wailsapp/wails"
)

func main() {
	js := mewn.String("./frontend/dist/app.js")
	css := mewn.String("./frontend/dist/app.css")
	md := model.NewModel()
	app := wails.CreateApp(&wails.AppConfig{
		Title:     "demo",
		JS:        js,
		CSS:       css,
		Resizable: true,
		Width:     1000,
		Height:    820,
	})
	app.Bind(md)
	app.Bind(&model.Storage{})
	_ = app.Run()
}
